﻿using SportsPlatform.Base;
using System;
using System.Collections.Generic;
using System.Text;

namespace SportsPlatform.Query.Competition
{
    /// <summary>
    /// 分页获取赛事列表传入参数
    /// </summary>
    public class GetCompetitionPageListQuery : BasePageQuery
    {
        /// <summary>
        /// 赛事名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所属公司、商户
        /// </summary>
        public string Merchants { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 比赛开始时间
        /// </summary>
        public DateTime? GameBeginTime { get; set; }

        /// <summary>
        /// 比赛结束时间
        /// </summary>
        public DateTime? GameEndTime { get; set; }

        /// <summary>
        /// 报名开始时间
        /// </summary>
        public DateTime? SignBeginTime { get; set; }

        /// <summary>
        /// 报名结束时间
        /// </summary>
        public DateTime? SignEndTime { get; set; }

        /// <summary>
        /// 关键字 赛事名称/主办单位/举办地址
        /// </summary>
        public string KeyWords { get; set; }

        /// <summary>
        /// 城市
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 是否启用（-1：全部；0：禁用；1：启用）
        /// </summary>
        public int? IsEnable { get; set; }
    }
}
